<!--  -->
<template>
  <div class="content">
    <el-aside :width="isSubsystemShow ? '190px' : '0px'">
      <el-menu :collapse="isSubsystemShow" class="subsystemMenu">
        <el-card class="box-card">
          <div slot="header" class="clearfix">
            <i class="el-icon-menu">子系统管理</i>
          </div>
          <el-tree
            :data="subsystemData"
            :props="defaultProps"
            accordion
          />
        </el-card>
      </el-menu>
    </el-aside>
  </div>
</template>

<script>
export default {
  name: 'Tree',
  data() {
    return {
      // tree组件 props
      defaultProps: {
        children: 'children',
        label: 'label'
      }
    }
  }
}
</script>

<style scoped>

</style>
